################################################################################
# Automatically-generated file. Do not edit!
################################################################################

-include ../makefile.init

RM := rm -rf

# All of the sources participating in the build are defined here
-include sources.mk
-include Src/Uart/subdir.mk
-include Src/Timer/subdir.mk
-include Src/EV1527_Decoder/subdir.mk
-include Src/subdir.mk
-include subdir.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
ifneq ($(strip $(S_DEPS)),)
-include $(S_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
endif

-include ../makefile.defs

# Add inputs and outputs from these tool invocations to the build variables 
LSS += \
EV1527.lss \

FLASH_IMAGE += \
EV1527.hex \

SIZEDUMMY += \
sizedummy \


# All Target
all: EV1527.elf secondary-outputs

# Tool invocations
EV1527.elf: $(OBJS) $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: AVR C Linker'
	avr-gcc -Wl,-Map,EV1527.map -mmcu=atmega16 -o "EV1527.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '

EV1527.lss: EV1527.elf
	@echo 'Invoking: AVR Create Extended Listing'
	-avr-objdump -h -S EV1527.elf  >"EV1527.lss"
	@echo 'Finished building: $@'
	@echo ' '

EV1527.hex: EV1527.elf
	@echo 'Create Flash image (ihex format)'
	-avr-objcopy -R .eeprom -O ihex EV1527.elf  "EV1527.hex"
	@echo 'Finished building: $@'
	@echo ' '

sizedummy: EV1527.elf
	@echo 'Invoking: Print Size'
	-avr-size --format=avr --mcu=atmega16 EV1527.elf
	@echo 'Finished building: $@'
	@echo ' '

# Other Targets
clean:
	-$(RM) $(OBJS)$(C_DEPS)$(ASM_DEPS)$(FLASH_IMAGE)$(ELFS)$(LSS)$(S_DEPS)$(SIZEDUMMY)$(S_UPPER_DEPS) EV1527.elf
	-@echo ' '

secondary-outputs: $(LSS) $(FLASH_IMAGE) $(SIZEDUMMY)

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
